package com.haixiaoke.saas.repository.service;


import com.haixiaoke.saas.repository.core.AjaxResult;
import com.haixiaoke.saas.repository.vo.SubscribeVo;

/**
 * 订阅消息service
 *
 * @author qixi
 * @date 2023-05-05
 */
public interface ISubscribeService {


    /**
     * 发送订阅消息
     * @param subscribeVo
     * @return
     */
    AjaxResult send(SubscribeVo subscribeVo);

    /**
     * 获取accessToken
     * @param
     * @return
     */
    String getAccessToken(Integer flag);

    /**
     * 发送订单信息
     * @param orderId
     * @return
     */
    AjaxResult sendOrder(String orderId);

    /**
     * 发送订单退租信息
     * @param orderId
     * @return
     */
    AjaxResult sendHouseState(String orderId);


    AjaxResult sendBillMsg(SubscribeVo subscribeVo);

    AjaxResult sendDeductionBalanceMsg(SubscribeVo subscribeVo);



}
